import { createRouter,createWebHashHistory } from "vue-router";
const routes = [
    {
        path:'/',
        redirect:'/home'
    },
    {
        path:'/home',
        name:'home',
        component:()=>import('@/views/Home.vue')
    },
    {
        path:'/hmxz',
        name:'hmxz',
        component:()=>import('@/views/Hmxz.vue')
    },
    {
        path:'/eatany',
        name:'eatany',
        component:()=>import('@/views/EatAny.vue')
    },
    {
        path:'/car',
        name:'car',
        component:()=>import('@/views/Car.vue')
    },
    {
        path:'/myself',
        name:'myself',
        component:()=>import('@/views/Myself.vue')
    }
]
const router = createRouter({
    history:createWebHashHistory(),
    routes
})
export default router;